package 程序员面试金典;

public class 字符串轮转 {

    //太秀了
    public boolean isFlipedString(String s1, String s2) {
         if (s1.length()!=s2.length())
             return false;
         String s=s2+s2;
         return s.contains(s1);
    }
}
